package cn.itcast.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class merchantExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public merchantExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andMerchantIdIsNull() {
            addCriterion("merchant_id is null");
            return (Criteria) this;
        }

        public Criteria andMerchantIdIsNotNull() {
            addCriterion("merchant_id is not null");
            return (Criteria) this;
        }

        public Criteria andMerchantIdEqualTo(Integer value) {
            addCriterion("merchant_id =", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNotEqualTo(Integer value) {
            addCriterion("merchant_id <>", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdGreaterThan(Integer value) {
            addCriterion("merchant_id >", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("merchant_id >=", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdLessThan(Integer value) {
            addCriterion("merchant_id <", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdLessThanOrEqualTo(Integer value) {
            addCriterion("merchant_id <=", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdIn(List<Integer> values) {
            addCriterion("merchant_id in", values, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNotIn(List<Integer> values) {
            addCriterion("merchant_id not in", values, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdBetween(Integer value1, Integer value2) {
            addCriterion("merchant_id between", value1, value2, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNotBetween(Integer value1, Integer value2) {
            addCriterion("merchant_id not between", value1, value2, "merchantId");
            return (Criteria) this;
        }

        public Criteria andOpenIdIsNull() {
            addCriterion("open_id is null");
            return (Criteria) this;
        }

        public Criteria andOpenIdIsNotNull() {
            addCriterion("open_id is not null");
            return (Criteria) this;
        }

        public Criteria andOpenIdEqualTo(String value) {
            addCriterion("open_id =", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdNotEqualTo(String value) {
            addCriterion("open_id <>", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdGreaterThan(String value) {
            addCriterion("open_id >", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdGreaterThanOrEqualTo(String value) {
            addCriterion("open_id >=", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdLessThan(String value) {
            addCriterion("open_id <", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdLessThanOrEqualTo(String value) {
            addCriterion("open_id <=", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdLike(String value) {
            addCriterion("open_id like", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdNotLike(String value) {
            addCriterion("open_id not like", value, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdIn(List<String> values) {
            addCriterion("open_id in", values, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdNotIn(List<String> values) {
            addCriterion("open_id not in", values, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdBetween(String value1, String value2) {
            addCriterion("open_id between", value1, value2, "openId");
            return (Criteria) this;
        }

        public Criteria andOpenIdNotBetween(String value1, String value2) {
            addCriterion("open_id not between", value1, value2, "openId");
            return (Criteria) this;
        }

        public Criteria andSkeyIsNull() {
            addCriterion("skey is null");
            return (Criteria) this;
        }

        public Criteria andSkeyIsNotNull() {
            addCriterion("skey is not null");
            return (Criteria) this;
        }

        public Criteria andSkeyEqualTo(String value) {
            addCriterion("skey =", value, "skey");
            return (Criteria) this;
        }

        public Criteria andSkeyNotEqualTo(String value) {
            addCriterion("skey <>", value, "skey");
            return (Criteria) this;
        }

        public Criteria andSkeyGreaterThan(String value) {
            addCriterion("skey >", value, "skey");
            return (Criteria) this;
        }

        public Criteria andSkeyGreaterThanOrEqualTo(String value) {
            addCriterion("skey >=", value, "skey");
            return (Criteria) this;
        }

        public Criteria andSkeyLessThan(String value) {
            addCriterion("skey <", value, "skey");
            return (Criteria) this;
        }

        public Criteria andSkeyLessThanOrEqualTo(String value) {
            addCriterion("skey <=", value, "skey");
            return (Criteria) this;
        }

        public Criteria andSkeyLike(String value) {
            addCriterion("skey like", value, "skey");
            return (Criteria) this;
        }

        public Criteria andSkeyNotLike(String value) {
            addCriterion("skey not like", value, "skey");
            return (Criteria) this;
        }

        public Criteria andSkeyIn(List<String> values) {
            addCriterion("skey in", values, "skey");
            return (Criteria) this;
        }

        public Criteria andSkeyNotIn(List<String> values) {
            addCriterion("skey not in", values, "skey");
            return (Criteria) this;
        }

        public Criteria andSkeyBetween(String value1, String value2) {
            addCriterion("skey between", value1, value2, "skey");
            return (Criteria) this;
        }

        public Criteria andSkeyNotBetween(String value1, String value2) {
            addCriterion("skey not between", value1, value2, "skey");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andLastVisitTimeIsNull() {
            addCriterion("last_visit_time is null");
            return (Criteria) this;
        }

        public Criteria andLastVisitTimeIsNotNull() {
            addCriterion("last_visit_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastVisitTimeEqualTo(Date value) {
            addCriterion("last_visit_time =", value, "lastVisitTime");
            return (Criteria) this;
        }

        public Criteria andLastVisitTimeNotEqualTo(Date value) {
            addCriterion("last_visit_time <>", value, "lastVisitTime");
            return (Criteria) this;
        }

        public Criteria andLastVisitTimeGreaterThan(Date value) {
            addCriterion("last_visit_time >", value, "lastVisitTime");
            return (Criteria) this;
        }

        public Criteria andLastVisitTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_visit_time >=", value, "lastVisitTime");
            return (Criteria) this;
        }

        public Criteria andLastVisitTimeLessThan(Date value) {
            addCriterion("last_visit_time <", value, "lastVisitTime");
            return (Criteria) this;
        }

        public Criteria andLastVisitTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_visit_time <=", value, "lastVisitTime");
            return (Criteria) this;
        }

        public Criteria andLastVisitTimeIn(List<Date> values) {
            addCriterion("last_visit_time in", values, "lastVisitTime");
            return (Criteria) this;
        }

        public Criteria andLastVisitTimeNotIn(List<Date> values) {
            addCriterion("last_visit_time not in", values, "lastVisitTime");
            return (Criteria) this;
        }

        public Criteria andLastVisitTimeBetween(Date value1, Date value2) {
            addCriterion("last_visit_time between", value1, value2, "lastVisitTime");
            return (Criteria) this;
        }

        public Criteria andLastVisitTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_visit_time not between", value1, value2, "lastVisitTime");
            return (Criteria) this;
        }

        public Criteria andSessionKeyIsNull() {
            addCriterion("session_key is null");
            return (Criteria) this;
        }

        public Criteria andSessionKeyIsNotNull() {
            addCriterion("session_key is not null");
            return (Criteria) this;
        }

        public Criteria andSessionKeyEqualTo(String value) {
            addCriterion("session_key =", value, "sessionKey");
            return (Criteria) this;
        }

        public Criteria andSessionKeyNotEqualTo(String value) {
            addCriterion("session_key <>", value, "sessionKey");
            return (Criteria) this;
        }

        public Criteria andSessionKeyGreaterThan(String value) {
            addCriterion("session_key >", value, "sessionKey");
            return (Criteria) this;
        }

        public Criteria andSessionKeyGreaterThanOrEqualTo(String value) {
            addCriterion("session_key >=", value, "sessionKey");
            return (Criteria) this;
        }

        public Criteria andSessionKeyLessThan(String value) {
            addCriterion("session_key <", value, "sessionKey");
            return (Criteria) this;
        }

        public Criteria andSessionKeyLessThanOrEqualTo(String value) {
            addCriterion("session_key <=", value, "sessionKey");
            return (Criteria) this;
        }

        public Criteria andSessionKeyLike(String value) {
            addCriterion("session_key like", value, "sessionKey");
            return (Criteria) this;
        }

        public Criteria andSessionKeyNotLike(String value) {
            addCriterion("session_key not like", value, "sessionKey");
            return (Criteria) this;
        }

        public Criteria andSessionKeyIn(List<String> values) {
            addCriterion("session_key in", values, "sessionKey");
            return (Criteria) this;
        }

        public Criteria andSessionKeyNotIn(List<String> values) {
            addCriterion("session_key not in", values, "sessionKey");
            return (Criteria) this;
        }

        public Criteria andSessionKeyBetween(String value1, String value2) {
            addCriterion("session_key between", value1, value2, "sessionKey");
            return (Criteria) this;
        }

        public Criteria andSessionKeyNotBetween(String value1, String value2) {
            addCriterion("session_key not between", value1, value2, "sessionKey");
            return (Criteria) this;
        }

        public Criteria andCityIsNull() {
            addCriterion("city is null");
            return (Criteria) this;
        }

        public Criteria andCityIsNotNull() {
            addCriterion("city is not null");
            return (Criteria) this;
        }

        public Criteria andCityEqualTo(String value) {
            addCriterion("city =", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotEqualTo(String value) {
            addCriterion("city <>", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityGreaterThan(String value) {
            addCriterion("city >", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityGreaterThanOrEqualTo(String value) {
            addCriterion("city >=", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLessThan(String value) {
            addCriterion("city <", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLessThanOrEqualTo(String value) {
            addCriterion("city <=", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLike(String value) {
            addCriterion("city like", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotLike(String value) {
            addCriterion("city not like", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityIn(List<String> values) {
            addCriterion("city in", values, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotIn(List<String> values) {
            addCriterion("city not in", values, "city");
            return (Criteria) this;
        }

        public Criteria andCityBetween(String value1, String value2) {
            addCriterion("city between", value1, value2, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotBetween(String value1, String value2) {
            addCriterion("city not between", value1, value2, "city");
            return (Criteria) this;
        }

        public Criteria andProvinceIsNull() {
            addCriterion("province is null");
            return (Criteria) this;
        }

        public Criteria andProvinceIsNotNull() {
            addCriterion("province is not null");
            return (Criteria) this;
        }

        public Criteria andProvinceEqualTo(String value) {
            addCriterion("province =", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotEqualTo(String value) {
            addCriterion("province <>", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceGreaterThan(String value) {
            addCriterion("province >", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceGreaterThanOrEqualTo(String value) {
            addCriterion("province >=", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceLessThan(String value) {
            addCriterion("province <", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceLessThanOrEqualTo(String value) {
            addCriterion("province <=", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceLike(String value) {
            addCriterion("province like", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotLike(String value) {
            addCriterion("province not like", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceIn(List<String> values) {
            addCriterion("province in", values, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotIn(List<String> values) {
            addCriterion("province not in", values, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceBetween(String value1, String value2) {
            addCriterion("province between", value1, value2, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotBetween(String value1, String value2) {
            addCriterion("province not between", value1, value2, "province");
            return (Criteria) this;
        }

        public Criteria andCountryIsNull() {
            addCriterion("country is null");
            return (Criteria) this;
        }

        public Criteria andCountryIsNotNull() {
            addCriterion("country is not null");
            return (Criteria) this;
        }

        public Criteria andCountryEqualTo(String value) {
            addCriterion("country =", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotEqualTo(String value) {
            addCriterion("country <>", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryGreaterThan(String value) {
            addCriterion("country >", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryGreaterThanOrEqualTo(String value) {
            addCriterion("country >=", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryLessThan(String value) {
            addCriterion("country <", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryLessThanOrEqualTo(String value) {
            addCriterion("country <=", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryLike(String value) {
            addCriterion("country like", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotLike(String value) {
            addCriterion("country not like", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryIn(List<String> values) {
            addCriterion("country in", values, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotIn(List<String> values) {
            addCriterion("country not in", values, "country");
            return (Criteria) this;
        }

        public Criteria andCountryBetween(String value1, String value2) {
            addCriterion("country between", value1, value2, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotBetween(String value1, String value2) {
            addCriterion("country not between", value1, value2, "country");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlIsNull() {
            addCriterion("avatar_url is null");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlIsNotNull() {
            addCriterion("avatar_url is not null");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlEqualTo(String value) {
            addCriterion("avatar_url =", value, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlNotEqualTo(String value) {
            addCriterion("avatar_url <>", value, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlGreaterThan(String value) {
            addCriterion("avatar_url >", value, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlGreaterThanOrEqualTo(String value) {
            addCriterion("avatar_url >=", value, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlLessThan(String value) {
            addCriterion("avatar_url <", value, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlLessThanOrEqualTo(String value) {
            addCriterion("avatar_url <=", value, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlLike(String value) {
            addCriterion("avatar_url like", value, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlNotLike(String value) {
            addCriterion("avatar_url not like", value, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlIn(List<String> values) {
            addCriterion("avatar_url in", values, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlNotIn(List<String> values) {
            addCriterion("avatar_url not in", values, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlBetween(String value1, String value2) {
            addCriterion("avatar_url between", value1, value2, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlNotBetween(String value1, String value2) {
            addCriterion("avatar_url not between", value1, value2, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andGenderIsNull() {
            addCriterion("gender is null");
            return (Criteria) this;
        }

        public Criteria andGenderIsNotNull() {
            addCriterion("gender is not null");
            return (Criteria) this;
        }

        public Criteria andGenderEqualTo(Byte value) {
            addCriterion("gender =", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderNotEqualTo(Byte value) {
            addCriterion("gender <>", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderGreaterThan(Byte value) {
            addCriterion("gender >", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderGreaterThanOrEqualTo(Byte value) {
            addCriterion("gender >=", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderLessThan(Byte value) {
            addCriterion("gender <", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderLessThanOrEqualTo(Byte value) {
            addCriterion("gender <=", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderIn(List<Byte> values) {
            addCriterion("gender in", values, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderNotIn(List<Byte> values) {
            addCriterion("gender not in", values, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderBetween(Byte value1, Byte value2) {
            addCriterion("gender between", value1, value2, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderNotBetween(Byte value1, Byte value2) {
            addCriterion("gender not between", value1, value2, "gender");
            return (Criteria) this;
        }

        public Criteria andNickNameIsNull() {
            addCriterion("nick_name is null");
            return (Criteria) this;
        }

        public Criteria andNickNameIsNotNull() {
            addCriterion("nick_name is not null");
            return (Criteria) this;
        }

        public Criteria andNickNameEqualTo(String value) {
            addCriterion("nick_name =", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameNotEqualTo(String value) {
            addCriterion("nick_name <>", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameGreaterThan(String value) {
            addCriterion("nick_name >", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameGreaterThanOrEqualTo(String value) {
            addCriterion("nick_name >=", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameLessThan(String value) {
            addCriterion("nick_name <", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameLessThanOrEqualTo(String value) {
            addCriterion("nick_name <=", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameLike(String value) {
            addCriterion("nick_name like", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameNotLike(String value) {
            addCriterion("nick_name not like", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameIn(List<String> values) {
            addCriterion("nick_name in", values, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameNotIn(List<String> values) {
            addCriterion("nick_name not in", values, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameBetween(String value1, String value2) {
            addCriterion("nick_name between", value1, value2, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameNotBetween(String value1, String value2) {
            addCriterion("nick_name not between", value1, value2, "nickName");
            return (Criteria) this;
        }

        public Criteria andMerchantFidIsNull() {
            addCriterion("merchant_fid is null");
            return (Criteria) this;
        }

        public Criteria andMerchantFidIsNotNull() {
            addCriterion("merchant_fid is not null");
            return (Criteria) this;
        }

        public Criteria andMerchantFidEqualTo(Integer value) {
            addCriterion("merchant_fid =", value, "merchantFid");
            return (Criteria) this;
        }

        public Criteria andMerchantFidNotEqualTo(Integer value) {
            addCriterion("merchant_fid <>", value, "merchantFid");
            return (Criteria) this;
        }

        public Criteria andMerchantFidGreaterThan(Integer value) {
            addCriterion("merchant_fid >", value, "merchantFid");
            return (Criteria) this;
        }

        public Criteria andMerchantFidGreaterThanOrEqualTo(Integer value) {
            addCriterion("merchant_fid >=", value, "merchantFid");
            return (Criteria) this;
        }

        public Criteria andMerchantFidLessThan(Integer value) {
            addCriterion("merchant_fid <", value, "merchantFid");
            return (Criteria) this;
        }

        public Criteria andMerchantFidLessThanOrEqualTo(Integer value) {
            addCriterion("merchant_fid <=", value, "merchantFid");
            return (Criteria) this;
        }

        public Criteria andMerchantFidIn(List<Integer> values) {
            addCriterion("merchant_fid in", values, "merchantFid");
            return (Criteria) this;
        }

        public Criteria andMerchantFidNotIn(List<Integer> values) {
            addCriterion("merchant_fid not in", values, "merchantFid");
            return (Criteria) this;
        }

        public Criteria andMerchantFidBetween(Integer value1, Integer value2) {
            addCriterion("merchant_fid between", value1, value2, "merchantFid");
            return (Criteria) this;
        }

        public Criteria andMerchantFidNotBetween(Integer value1, Integer value2) {
            addCriterion("merchant_fid not between", value1, value2, "merchantFid");
            return (Criteria) this;
        }

        public Criteria andMerchantPhoneIsNull() {
            addCriterion("merchant_phone is null");
            return (Criteria) this;
        }

        public Criteria andMerchantPhoneIsNotNull() {
            addCriterion("merchant_phone is not null");
            return (Criteria) this;
        }

        public Criteria andMerchantPhoneEqualTo(String value) {
            addCriterion("merchant_phone =", value, "merchantPhone");
            return (Criteria) this;
        }

        public Criteria andMerchantPhoneNotEqualTo(String value) {
            addCriterion("merchant_phone <>", value, "merchantPhone");
            return (Criteria) this;
        }

        public Criteria andMerchantPhoneGreaterThan(String value) {
            addCriterion("merchant_phone >", value, "merchantPhone");
            return (Criteria) this;
        }

        public Criteria andMerchantPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("merchant_phone >=", value, "merchantPhone");
            return (Criteria) this;
        }

        public Criteria andMerchantPhoneLessThan(String value) {
            addCriterion("merchant_phone <", value, "merchantPhone");
            return (Criteria) this;
        }

        public Criteria andMerchantPhoneLessThanOrEqualTo(String value) {
            addCriterion("merchant_phone <=", value, "merchantPhone");
            return (Criteria) this;
        }

        public Criteria andMerchantPhoneLike(String value) {
            addCriterion("merchant_phone like", value, "merchantPhone");
            return (Criteria) this;
        }

        public Criteria andMerchantPhoneNotLike(String value) {
            addCriterion("merchant_phone not like", value, "merchantPhone");
            return (Criteria) this;
        }

        public Criteria andMerchantPhoneIn(List<String> values) {
            addCriterion("merchant_phone in", values, "merchantPhone");
            return (Criteria) this;
        }

        public Criteria andMerchantPhoneNotIn(List<String> values) {
            addCriterion("merchant_phone not in", values, "merchantPhone");
            return (Criteria) this;
        }

        public Criteria andMerchantPhoneBetween(String value1, String value2) {
            addCriterion("merchant_phone between", value1, value2, "merchantPhone");
            return (Criteria) this;
        }

        public Criteria andMerchantPhoneNotBetween(String value1, String value2) {
            addCriterion("merchant_phone not between", value1, value2, "merchantPhone");
            return (Criteria) this;
        }

        public Criteria andMerchantPasswordIsNull() {
            addCriterion("merchant_password is null");
            return (Criteria) this;
        }

        public Criteria andMerchantPasswordIsNotNull() {
            addCriterion("merchant_password is not null");
            return (Criteria) this;
        }

        public Criteria andMerchantPasswordEqualTo(String value) {
            addCriterion("merchant_password =", value, "merchantPassword");
            return (Criteria) this;
        }

        public Criteria andMerchantPasswordNotEqualTo(String value) {
            addCriterion("merchant_password <>", value, "merchantPassword");
            return (Criteria) this;
        }

        public Criteria andMerchantPasswordGreaterThan(String value) {
            addCriterion("merchant_password >", value, "merchantPassword");
            return (Criteria) this;
        }

        public Criteria andMerchantPasswordGreaterThanOrEqualTo(String value) {
            addCriterion("merchant_password >=", value, "merchantPassword");
            return (Criteria) this;
        }

        public Criteria andMerchantPasswordLessThan(String value) {
            addCriterion("merchant_password <", value, "merchantPassword");
            return (Criteria) this;
        }

        public Criteria andMerchantPasswordLessThanOrEqualTo(String value) {
            addCriterion("merchant_password <=", value, "merchantPassword");
            return (Criteria) this;
        }

        public Criteria andMerchantPasswordLike(String value) {
            addCriterion("merchant_password like", value, "merchantPassword");
            return (Criteria) this;
        }

        public Criteria andMerchantPasswordNotLike(String value) {
            addCriterion("merchant_password not like", value, "merchantPassword");
            return (Criteria) this;
        }

        public Criteria andMerchantPasswordIn(List<String> values) {
            addCriterion("merchant_password in", values, "merchantPassword");
            return (Criteria) this;
        }

        public Criteria andMerchantPasswordNotIn(List<String> values) {
            addCriterion("merchant_password not in", values, "merchantPassword");
            return (Criteria) this;
        }

        public Criteria andMerchantPasswordBetween(String value1, String value2) {
            addCriterion("merchant_password between", value1, value2, "merchantPassword");
            return (Criteria) this;
        }

        public Criteria andMerchantPasswordNotBetween(String value1, String value2) {
            addCriterion("merchant_password not between", value1, value2, "merchantPassword");
            return (Criteria) this;
        }

        public Criteria andMerchantChecknameIsNull() {
            addCriterion("merchant_checkname is null");
            return (Criteria) this;
        }

        public Criteria andMerchantChecknameIsNotNull() {
            addCriterion("merchant_checkname is not null");
            return (Criteria) this;
        }

        public Criteria andMerchantChecknameEqualTo(String value) {
            addCriterion("merchant_checkname =", value, "merchantCheckname");
            return (Criteria) this;
        }

        public Criteria andMerchantChecknameNotEqualTo(String value) {
            addCriterion("merchant_checkname <>", value, "merchantCheckname");
            return (Criteria) this;
        }

        public Criteria andMerchantChecknameGreaterThan(String value) {
            addCriterion("merchant_checkname >", value, "merchantCheckname");
            return (Criteria) this;
        }

        public Criteria andMerchantChecknameGreaterThanOrEqualTo(String value) {
            addCriterion("merchant_checkname >=", value, "merchantCheckname");
            return (Criteria) this;
        }

        public Criteria andMerchantChecknameLessThan(String value) {
            addCriterion("merchant_checkname <", value, "merchantCheckname");
            return (Criteria) this;
        }

        public Criteria andMerchantChecknameLessThanOrEqualTo(String value) {
            addCriterion("merchant_checkname <=", value, "merchantCheckname");
            return (Criteria) this;
        }

        public Criteria andMerchantChecknameLike(String value) {
            addCriterion("merchant_checkname like", value, "merchantCheckname");
            return (Criteria) this;
        }

        public Criteria andMerchantChecknameNotLike(String value) {
            addCriterion("merchant_checkname not like", value, "merchantCheckname");
            return (Criteria) this;
        }

        public Criteria andMerchantChecknameIn(List<String> values) {
            addCriterion("merchant_checkname in", values, "merchantCheckname");
            return (Criteria) this;
        }

        public Criteria andMerchantChecknameNotIn(List<String> values) {
            addCriterion("merchant_checkname not in", values, "merchantCheckname");
            return (Criteria) this;
        }

        public Criteria andMerchantChecknameBetween(String value1, String value2) {
            addCriterion("merchant_checkname between", value1, value2, "merchantCheckname");
            return (Criteria) this;
        }

        public Criteria andMerchantChecknameNotBetween(String value1, String value2) {
            addCriterion("merchant_checkname not between", value1, value2, "merchantCheckname");
            return (Criteria) this;
        }

        public Criteria andMerchantNumberIsNull() {
            addCriterion("merchant_number is null");
            return (Criteria) this;
        }

        public Criteria andMerchantNumberIsNotNull() {
            addCriterion("merchant_number is not null");
            return (Criteria) this;
        }

        public Criteria andMerchantNumberEqualTo(String value) {
            addCriterion("merchant_number =", value, "merchantNumber");
            return (Criteria) this;
        }

        public Criteria andMerchantNumberNotEqualTo(String value) {
            addCriterion("merchant_number <>", value, "merchantNumber");
            return (Criteria) this;
        }

        public Criteria andMerchantNumberGreaterThan(String value) {
            addCriterion("merchant_number >", value, "merchantNumber");
            return (Criteria) this;
        }

        public Criteria andMerchantNumberGreaterThanOrEqualTo(String value) {
            addCriterion("merchant_number >=", value, "merchantNumber");
            return (Criteria) this;
        }

        public Criteria andMerchantNumberLessThan(String value) {
            addCriterion("merchant_number <", value, "merchantNumber");
            return (Criteria) this;
        }

        public Criteria andMerchantNumberLessThanOrEqualTo(String value) {
            addCriterion("merchant_number <=", value, "merchantNumber");
            return (Criteria) this;
        }

        public Criteria andMerchantNumberLike(String value) {
            addCriterion("merchant_number like", value, "merchantNumber");
            return (Criteria) this;
        }

        public Criteria andMerchantNumberNotLike(String value) {
            addCriterion("merchant_number not like", value, "merchantNumber");
            return (Criteria) this;
        }

        public Criteria andMerchantNumberIn(List<String> values) {
            addCriterion("merchant_number in", values, "merchantNumber");
            return (Criteria) this;
        }

        public Criteria andMerchantNumberNotIn(List<String> values) {
            addCriterion("merchant_number not in", values, "merchantNumber");
            return (Criteria) this;
        }

        public Criteria andMerchantNumberBetween(String value1, String value2) {
            addCriterion("merchant_number between", value1, value2, "merchantNumber");
            return (Criteria) this;
        }

        public Criteria andMerchantNumberNotBetween(String value1, String value2) {
            addCriterion("merchant_number not between", value1, value2, "merchantNumber");
            return (Criteria) this;
        }

        public Criteria andMerchantNameIsNull() {
            addCriterion("merchant_name is null");
            return (Criteria) this;
        }

        public Criteria andMerchantNameIsNotNull() {
            addCriterion("merchant_name is not null");
            return (Criteria) this;
        }

        public Criteria andMerchantNameEqualTo(String value) {
            addCriterion("merchant_name =", value, "merchantName");
            return (Criteria) this;
        }

        public Criteria andMerchantNameNotEqualTo(String value) {
            addCriterion("merchant_name <>", value, "merchantName");
            return (Criteria) this;
        }

        public Criteria andMerchantNameGreaterThan(String value) {
            addCriterion("merchant_name >", value, "merchantName");
            return (Criteria) this;
        }

        public Criteria andMerchantNameGreaterThanOrEqualTo(String value) {
            addCriterion("merchant_name >=", value, "merchantName");
            return (Criteria) this;
        }

        public Criteria andMerchantNameLessThan(String value) {
            addCriterion("merchant_name <", value, "merchantName");
            return (Criteria) this;
        }

        public Criteria andMerchantNameLessThanOrEqualTo(String value) {
            addCriterion("merchant_name <=", value, "merchantName");
            return (Criteria) this;
        }

        public Criteria andMerchantNameLike(String value) {
            addCriterion("merchant_name like", value, "merchantName");
            return (Criteria) this;
        }

        public Criteria andMerchantNameNotLike(String value) {
            addCriterion("merchant_name not like", value, "merchantName");
            return (Criteria) this;
        }

        public Criteria andMerchantNameIn(List<String> values) {
            addCriterion("merchant_name in", values, "merchantName");
            return (Criteria) this;
        }

        public Criteria andMerchantNameNotIn(List<String> values) {
            addCriterion("merchant_name not in", values, "merchantName");
            return (Criteria) this;
        }

        public Criteria andMerchantNameBetween(String value1, String value2) {
            addCriterion("merchant_name between", value1, value2, "merchantName");
            return (Criteria) this;
        }

        public Criteria andMerchantNameNotBetween(String value1, String value2) {
            addCriterion("merchant_name not between", value1, value2, "merchantName");
            return (Criteria) this;
        }

        public Criteria andMerchantReferrerIsNull() {
            addCriterion("merchant_referrer is null");
            return (Criteria) this;
        }

        public Criteria andMerchantReferrerIsNotNull() {
            addCriterion("merchant_referrer is not null");
            return (Criteria) this;
        }

        public Criteria andMerchantReferrerEqualTo(String value) {
            addCriterion("merchant_referrer =", value, "merchantReferrer");
            return (Criteria) this;
        }

        public Criteria andMerchantReferrerNotEqualTo(String value) {
            addCriterion("merchant_referrer <>", value, "merchantReferrer");
            return (Criteria) this;
        }

        public Criteria andMerchantReferrerGreaterThan(String value) {
            addCriterion("merchant_referrer >", value, "merchantReferrer");
            return (Criteria) this;
        }

        public Criteria andMerchantReferrerGreaterThanOrEqualTo(String value) {
            addCriterion("merchant_referrer >=", value, "merchantReferrer");
            return (Criteria) this;
        }

        public Criteria andMerchantReferrerLessThan(String value) {
            addCriterion("merchant_referrer <", value, "merchantReferrer");
            return (Criteria) this;
        }

        public Criteria andMerchantReferrerLessThanOrEqualTo(String value) {
            addCriterion("merchant_referrer <=", value, "merchantReferrer");
            return (Criteria) this;
        }

        public Criteria andMerchantReferrerLike(String value) {
            addCriterion("merchant_referrer like", value, "merchantReferrer");
            return (Criteria) this;
        }

        public Criteria andMerchantReferrerNotLike(String value) {
            addCriterion("merchant_referrer not like", value, "merchantReferrer");
            return (Criteria) this;
        }

        public Criteria andMerchantReferrerIn(List<String> values) {
            addCriterion("merchant_referrer in", values, "merchantReferrer");
            return (Criteria) this;
        }

        public Criteria andMerchantReferrerNotIn(List<String> values) {
            addCriterion("merchant_referrer not in", values, "merchantReferrer");
            return (Criteria) this;
        }

        public Criteria andMerchantReferrerBetween(String value1, String value2) {
            addCriterion("merchant_referrer between", value1, value2, "merchantReferrer");
            return (Criteria) this;
        }

        public Criteria andMerchantReferrerNotBetween(String value1, String value2) {
            addCriterion("merchant_referrer not between", value1, value2, "merchantReferrer");
            return (Criteria) this;
        }

        public Criteria andMerchantWxidIsNull() {
            addCriterion("merchant_wxid is null");
            return (Criteria) this;
        }

        public Criteria andMerchantWxidIsNotNull() {
            addCriterion("merchant_wxid is not null");
            return (Criteria) this;
        }

        public Criteria andMerchantWxidEqualTo(String value) {
            addCriterion("merchant_wxid =", value, "merchantWxid");
            return (Criteria) this;
        }

        public Criteria andMerchantWxidNotEqualTo(String value) {
            addCriterion("merchant_wxid <>", value, "merchantWxid");
            return (Criteria) this;
        }

        public Criteria andMerchantWxidGreaterThan(String value) {
            addCriterion("merchant_wxid >", value, "merchantWxid");
            return (Criteria) this;
        }

        public Criteria andMerchantWxidGreaterThanOrEqualTo(String value) {
            addCriterion("merchant_wxid >=", value, "merchantWxid");
            return (Criteria) this;
        }

        public Criteria andMerchantWxidLessThan(String value) {
            addCriterion("merchant_wxid <", value, "merchantWxid");
            return (Criteria) this;
        }

        public Criteria andMerchantWxidLessThanOrEqualTo(String value) {
            addCriterion("merchant_wxid <=", value, "merchantWxid");
            return (Criteria) this;
        }

        public Criteria andMerchantWxidLike(String value) {
            addCriterion("merchant_wxid like", value, "merchantWxid");
            return (Criteria) this;
        }

        public Criteria andMerchantWxidNotLike(String value) {
            addCriterion("merchant_wxid not like", value, "merchantWxid");
            return (Criteria) this;
        }

        public Criteria andMerchantWxidIn(List<String> values) {
            addCriterion("merchant_wxid in", values, "merchantWxid");
            return (Criteria) this;
        }

        public Criteria andMerchantWxidNotIn(List<String> values) {
            addCriterion("merchant_wxid not in", values, "merchantWxid");
            return (Criteria) this;
        }

        public Criteria andMerchantWxidBetween(String value1, String value2) {
            addCriterion("merchant_wxid between", value1, value2, "merchantWxid");
            return (Criteria) this;
        }

        public Criteria andMerchantWxidNotBetween(String value1, String value2) {
            addCriterion("merchant_wxid not between", value1, value2, "merchantWxid");
            return (Criteria) this;
        }

        public Criteria andMerchantAreaIsNull() {
            addCriterion("merchant_area is null");
            return (Criteria) this;
        }

        public Criteria andMerchantAreaIsNotNull() {
            addCriterion("merchant_area is not null");
            return (Criteria) this;
        }

        public Criteria andMerchantAreaEqualTo(String value) {
            addCriterion("merchant_area =", value, "merchantArea");
            return (Criteria) this;
        }

        public Criteria andMerchantAreaNotEqualTo(String value) {
            addCriterion("merchant_area <>", value, "merchantArea");
            return (Criteria) this;
        }

        public Criteria andMerchantAreaGreaterThan(String value) {
            addCriterion("merchant_area >", value, "merchantArea");
            return (Criteria) this;
        }

        public Criteria andMerchantAreaGreaterThanOrEqualTo(String value) {
            addCriterion("merchant_area >=", value, "merchantArea");
            return (Criteria) this;
        }

        public Criteria andMerchantAreaLessThan(String value) {
            addCriterion("merchant_area <", value, "merchantArea");
            return (Criteria) this;
        }

        public Criteria andMerchantAreaLessThanOrEqualTo(String value) {
            addCriterion("merchant_area <=", value, "merchantArea");
            return (Criteria) this;
        }

        public Criteria andMerchantAreaLike(String value) {
            addCriterion("merchant_area like", value, "merchantArea");
            return (Criteria) this;
        }

        public Criteria andMerchantAreaNotLike(String value) {
            addCriterion("merchant_area not like", value, "merchantArea");
            return (Criteria) this;
        }

        public Criteria andMerchantAreaIn(List<String> values) {
            addCriterion("merchant_area in", values, "merchantArea");
            return (Criteria) this;
        }

        public Criteria andMerchantAreaNotIn(List<String> values) {
            addCriterion("merchant_area not in", values, "merchantArea");
            return (Criteria) this;
        }

        public Criteria andMerchantAreaBetween(String value1, String value2) {
            addCriterion("merchant_area between", value1, value2, "merchantArea");
            return (Criteria) this;
        }

        public Criteria andMerchantAreaNotBetween(String value1, String value2) {
            addCriterion("merchant_area not between", value1, value2, "merchantArea");
            return (Criteria) this;
        }

        public Criteria andMerchantOpenbankIsNull() {
            addCriterion("merchant_openbank is null");
            return (Criteria) this;
        }

        public Criteria andMerchantOpenbankIsNotNull() {
            addCriterion("merchant_openbank is not null");
            return (Criteria) this;
        }

        public Criteria andMerchantOpenbankEqualTo(String value) {
            addCriterion("merchant_openbank =", value, "merchantOpenbank");
            return (Criteria) this;
        }

        public Criteria andMerchantOpenbankNotEqualTo(String value) {
            addCriterion("merchant_openbank <>", value, "merchantOpenbank");
            return (Criteria) this;
        }

        public Criteria andMerchantOpenbankGreaterThan(String value) {
            addCriterion("merchant_openbank >", value, "merchantOpenbank");
            return (Criteria) this;
        }

        public Criteria andMerchantOpenbankGreaterThanOrEqualTo(String value) {
            addCriterion("merchant_openbank >=", value, "merchantOpenbank");
            return (Criteria) this;
        }

        public Criteria andMerchantOpenbankLessThan(String value) {
            addCriterion("merchant_openbank <", value, "merchantOpenbank");
            return (Criteria) this;
        }

        public Criteria andMerchantOpenbankLessThanOrEqualTo(String value) {
            addCriterion("merchant_openbank <=", value, "merchantOpenbank");
            return (Criteria) this;
        }

        public Criteria andMerchantOpenbankLike(String value) {
            addCriterion("merchant_openbank like", value, "merchantOpenbank");
            return (Criteria) this;
        }

        public Criteria andMerchantOpenbankNotLike(String value) {
            addCriterion("merchant_openbank not like", value, "merchantOpenbank");
            return (Criteria) this;
        }

        public Criteria andMerchantOpenbankIn(List<String> values) {
            addCriterion("merchant_openbank in", values, "merchantOpenbank");
            return (Criteria) this;
        }

        public Criteria andMerchantOpenbankNotIn(List<String> values) {
            addCriterion("merchant_openbank not in", values, "merchantOpenbank");
            return (Criteria) this;
        }

        public Criteria andMerchantOpenbankBetween(String value1, String value2) {
            addCriterion("merchant_openbank between", value1, value2, "merchantOpenbank");
            return (Criteria) this;
        }

        public Criteria andMerchantOpenbankNotBetween(String value1, String value2) {
            addCriterion("merchant_openbank not between", value1, value2, "merchantOpenbank");
            return (Criteria) this;
        }

        public Criteria andMerchantCreditCardNumbersIsNull() {
            addCriterion("merchant_credit_card_numbers is null");
            return (Criteria) this;
        }

        public Criteria andMerchantCreditCardNumbersIsNotNull() {
            addCriterion("merchant_credit_card_numbers is not null");
            return (Criteria) this;
        }

        public Criteria andMerchantCreditCardNumbersEqualTo(String value) {
            addCriterion("merchant_credit_card_numbers =", value, "merchantCreditCardNumbers");
            return (Criteria) this;
        }

        public Criteria andMerchantCreditCardNumbersNotEqualTo(String value) {
            addCriterion("merchant_credit_card_numbers <>", value, "merchantCreditCardNumbers");
            return (Criteria) this;
        }

        public Criteria andMerchantCreditCardNumbersGreaterThan(String value) {
            addCriterion("merchant_credit_card_numbers >", value, "merchantCreditCardNumbers");
            return (Criteria) this;
        }

        public Criteria andMerchantCreditCardNumbersGreaterThanOrEqualTo(String value) {
            addCriterion("merchant_credit_card_numbers >=", value, "merchantCreditCardNumbers");
            return (Criteria) this;
        }

        public Criteria andMerchantCreditCardNumbersLessThan(String value) {
            addCriterion("merchant_credit_card_numbers <", value, "merchantCreditCardNumbers");
            return (Criteria) this;
        }

        public Criteria andMerchantCreditCardNumbersLessThanOrEqualTo(String value) {
            addCriterion("merchant_credit_card_numbers <=", value, "merchantCreditCardNumbers");
            return (Criteria) this;
        }

        public Criteria andMerchantCreditCardNumbersLike(String value) {
            addCriterion("merchant_credit_card_numbers like", value, "merchantCreditCardNumbers");
            return (Criteria) this;
        }

        public Criteria andMerchantCreditCardNumbersNotLike(String value) {
            addCriterion("merchant_credit_card_numbers not like", value, "merchantCreditCardNumbers");
            return (Criteria) this;
        }

        public Criteria andMerchantCreditCardNumbersIn(List<String> values) {
            addCriterion("merchant_credit_card_numbers in", values, "merchantCreditCardNumbers");
            return (Criteria) this;
        }

        public Criteria andMerchantCreditCardNumbersNotIn(List<String> values) {
            addCriterion("merchant_credit_card_numbers not in", values, "merchantCreditCardNumbers");
            return (Criteria) this;
        }

        public Criteria andMerchantCreditCardNumbersBetween(String value1, String value2) {
            addCriterion("merchant_credit_card_numbers between", value1, value2, "merchantCreditCardNumbers");
            return (Criteria) this;
        }

        public Criteria andMerchantCreditCardNumbersNotBetween(String value1, String value2) {
            addCriterion("merchant_credit_card_numbers not between", value1, value2, "merchantCreditCardNumbers");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNumberIsNull() {
            addCriterion("merchant_id_number is null");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNumberIsNotNull() {
            addCriterion("merchant_id_number is not null");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNumberEqualTo(String value) {
            addCriterion("merchant_id_number =", value, "merchantIdNumber");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNumberNotEqualTo(String value) {
            addCriterion("merchant_id_number <>", value, "merchantIdNumber");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNumberGreaterThan(String value) {
            addCriterion("merchant_id_number >", value, "merchantIdNumber");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNumberGreaterThanOrEqualTo(String value) {
            addCriterion("merchant_id_number >=", value, "merchantIdNumber");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNumberLessThan(String value) {
            addCriterion("merchant_id_number <", value, "merchantIdNumber");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNumberLessThanOrEqualTo(String value) {
            addCriterion("merchant_id_number <=", value, "merchantIdNumber");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNumberLike(String value) {
            addCriterion("merchant_id_number like", value, "merchantIdNumber");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNumberNotLike(String value) {
            addCriterion("merchant_id_number not like", value, "merchantIdNumber");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNumberIn(List<String> values) {
            addCriterion("merchant_id_number in", values, "merchantIdNumber");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNumberNotIn(List<String> values) {
            addCriterion("merchant_id_number not in", values, "merchantIdNumber");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNumberBetween(String value1, String value2) {
            addCriterion("merchant_id_number between", value1, value2, "merchantIdNumber");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNumberNotBetween(String value1, String value2) {
            addCriterion("merchant_id_number not between", value1, value2, "merchantIdNumber");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNumberPhotoIsNull() {
            addCriterion("merchant_id_number_photo is null");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNumberPhotoIsNotNull() {
            addCriterion("merchant_id_number_photo is not null");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNumberPhotoEqualTo(String value) {
            addCriterion("merchant_id_number_photo =", value, "merchantIdNumberPhoto");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNumberPhotoNotEqualTo(String value) {
            addCriterion("merchant_id_number_photo <>", value, "merchantIdNumberPhoto");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNumberPhotoGreaterThan(String value) {
            addCriterion("merchant_id_number_photo >", value, "merchantIdNumberPhoto");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNumberPhotoGreaterThanOrEqualTo(String value) {
            addCriterion("merchant_id_number_photo >=", value, "merchantIdNumberPhoto");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNumberPhotoLessThan(String value) {
            addCriterion("merchant_id_number_photo <", value, "merchantIdNumberPhoto");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNumberPhotoLessThanOrEqualTo(String value) {
            addCriterion("merchant_id_number_photo <=", value, "merchantIdNumberPhoto");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNumberPhotoLike(String value) {
            addCriterion("merchant_id_number_photo like", value, "merchantIdNumberPhoto");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNumberPhotoNotLike(String value) {
            addCriterion("merchant_id_number_photo not like", value, "merchantIdNumberPhoto");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNumberPhotoIn(List<String> values) {
            addCriterion("merchant_id_number_photo in", values, "merchantIdNumberPhoto");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNumberPhotoNotIn(List<String> values) {
            addCriterion("merchant_id_number_photo not in", values, "merchantIdNumberPhoto");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNumberPhotoBetween(String value1, String value2) {
            addCriterion("merchant_id_number_photo between", value1, value2, "merchantIdNumberPhoto");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNumberPhotoNotBetween(String value1, String value2) {
            addCriterion("merchant_id_number_photo not between", value1, value2, "merchantIdNumberPhoto");
            return (Criteria) this;
        }

        public Criteria andMerchantStarLevelIsNull() {
            addCriterion("merchant_star_level is null");
            return (Criteria) this;
        }

        public Criteria andMerchantStarLevelIsNotNull() {
            addCriterion("merchant_star_level is not null");
            return (Criteria) this;
        }

        public Criteria andMerchantStarLevelEqualTo(String value) {
            addCriterion("merchant_star_level =", value, "merchantStarLevel");
            return (Criteria) this;
        }

        public Criteria andMerchantStarLevelNotEqualTo(String value) {
            addCriterion("merchant_star_level <>", value, "merchantStarLevel");
            return (Criteria) this;
        }

        public Criteria andMerchantStarLevelGreaterThan(String value) {
            addCriterion("merchant_star_level >", value, "merchantStarLevel");
            return (Criteria) this;
        }

        public Criteria andMerchantStarLevelGreaterThanOrEqualTo(String value) {
            addCriterion("merchant_star_level >=", value, "merchantStarLevel");
            return (Criteria) this;
        }

        public Criteria andMerchantStarLevelLessThan(String value) {
            addCriterion("merchant_star_level <", value, "merchantStarLevel");
            return (Criteria) this;
        }

        public Criteria andMerchantStarLevelLessThanOrEqualTo(String value) {
            addCriterion("merchant_star_level <=", value, "merchantStarLevel");
            return (Criteria) this;
        }

        public Criteria andMerchantStarLevelLike(String value) {
            addCriterion("merchant_star_level like", value, "merchantStarLevel");
            return (Criteria) this;
        }

        public Criteria andMerchantStarLevelNotLike(String value) {
            addCriterion("merchant_star_level not like", value, "merchantStarLevel");
            return (Criteria) this;
        }

        public Criteria andMerchantStarLevelIn(List<String> values) {
            addCriterion("merchant_star_level in", values, "merchantStarLevel");
            return (Criteria) this;
        }

        public Criteria andMerchantStarLevelNotIn(List<String> values) {
            addCriterion("merchant_star_level not in", values, "merchantStarLevel");
            return (Criteria) this;
        }

        public Criteria andMerchantStarLevelBetween(String value1, String value2) {
            addCriterion("merchant_star_level between", value1, value2, "merchantStarLevel");
            return (Criteria) this;
        }

        public Criteria andMerchantStarLevelNotBetween(String value1, String value2) {
            addCriterion("merchant_star_level not between", value1, value2, "merchantStarLevel");
            return (Criteria) this;
        }

        public Criteria andMerchantLatIsNull() {
            addCriterion("merchant_lat is null");
            return (Criteria) this;
        }

        public Criteria andMerchantLatIsNotNull() {
            addCriterion("merchant_lat is not null");
            return (Criteria) this;
        }

        public Criteria andMerchantLatEqualTo(String value) {
            addCriterion("merchant_lat =", value, "merchantLat");
            return (Criteria) this;
        }

        public Criteria andMerchantLatNotEqualTo(String value) {
            addCriterion("merchant_lat <>", value, "merchantLat");
            return (Criteria) this;
        }

        public Criteria andMerchantLatGreaterThan(String value) {
            addCriterion("merchant_lat >", value, "merchantLat");
            return (Criteria) this;
        }

        public Criteria andMerchantLatGreaterThanOrEqualTo(String value) {
            addCriterion("merchant_lat >=", value, "merchantLat");
            return (Criteria) this;
        }

        public Criteria andMerchantLatLessThan(String value) {
            addCriterion("merchant_lat <", value, "merchantLat");
            return (Criteria) this;
        }

        public Criteria andMerchantLatLessThanOrEqualTo(String value) {
            addCriterion("merchant_lat <=", value, "merchantLat");
            return (Criteria) this;
        }

        public Criteria andMerchantLatLike(String value) {
            addCriterion("merchant_lat like", value, "merchantLat");
            return (Criteria) this;
        }

        public Criteria andMerchantLatNotLike(String value) {
            addCriterion("merchant_lat not like", value, "merchantLat");
            return (Criteria) this;
        }

        public Criteria andMerchantLatIn(List<String> values) {
            addCriterion("merchant_lat in", values, "merchantLat");
            return (Criteria) this;
        }

        public Criteria andMerchantLatNotIn(List<String> values) {
            addCriterion("merchant_lat not in", values, "merchantLat");
            return (Criteria) this;
        }

        public Criteria andMerchantLatBetween(String value1, String value2) {
            addCriterion("merchant_lat between", value1, value2, "merchantLat");
            return (Criteria) this;
        }

        public Criteria andMerchantLatNotBetween(String value1, String value2) {
            addCriterion("merchant_lat not between", value1, value2, "merchantLat");
            return (Criteria) this;
        }

        public Criteria andMerchantLonIsNull() {
            addCriterion("merchant_lon is null");
            return (Criteria) this;
        }

        public Criteria andMerchantLonIsNotNull() {
            addCriterion("merchant_lon is not null");
            return (Criteria) this;
        }

        public Criteria andMerchantLonEqualTo(String value) {
            addCriterion("merchant_lon =", value, "merchantLon");
            return (Criteria) this;
        }

        public Criteria andMerchantLonNotEqualTo(String value) {
            addCriterion("merchant_lon <>", value, "merchantLon");
            return (Criteria) this;
        }

        public Criteria andMerchantLonGreaterThan(String value) {
            addCriterion("merchant_lon >", value, "merchantLon");
            return (Criteria) this;
        }

        public Criteria andMerchantLonGreaterThanOrEqualTo(String value) {
            addCriterion("merchant_lon >=", value, "merchantLon");
            return (Criteria) this;
        }

        public Criteria andMerchantLonLessThan(String value) {
            addCriterion("merchant_lon <", value, "merchantLon");
            return (Criteria) this;
        }

        public Criteria andMerchantLonLessThanOrEqualTo(String value) {
            addCriterion("merchant_lon <=", value, "merchantLon");
            return (Criteria) this;
        }

        public Criteria andMerchantLonLike(String value) {
            addCriterion("merchant_lon like", value, "merchantLon");
            return (Criteria) this;
        }

        public Criteria andMerchantLonNotLike(String value) {
            addCriterion("merchant_lon not like", value, "merchantLon");
            return (Criteria) this;
        }

        public Criteria andMerchantLonIn(List<String> values) {
            addCriterion("merchant_lon in", values, "merchantLon");
            return (Criteria) this;
        }

        public Criteria andMerchantLonNotIn(List<String> values) {
            addCriterion("merchant_lon not in", values, "merchantLon");
            return (Criteria) this;
        }

        public Criteria andMerchantLonBetween(String value1, String value2) {
            addCriterion("merchant_lon between", value1, value2, "merchantLon");
            return (Criteria) this;
        }

        public Criteria andMerchantLonNotBetween(String value1, String value2) {
            addCriterion("merchant_lon not between", value1, value2, "merchantLon");
            return (Criteria) this;
        }

        public Criteria andMerchantIsopenIsNull() {
            addCriterion("merchant_isopen is null");
            return (Criteria) this;
        }

        public Criteria andMerchantIsopenIsNotNull() {
            addCriterion("merchant_isopen is not null");
            return (Criteria) this;
        }

        public Criteria andMerchantIsopenEqualTo(String value) {
            addCriterion("merchant_isopen =", value, "merchantIsopen");
            return (Criteria) this;
        }

        public Criteria andMerchantIsopenNotEqualTo(String value) {
            addCriterion("merchant_isopen <>", value, "merchantIsopen");
            return (Criteria) this;
        }

        public Criteria andMerchantIsopenGreaterThan(String value) {
            addCriterion("merchant_isopen >", value, "merchantIsopen");
            return (Criteria) this;
        }

        public Criteria andMerchantIsopenGreaterThanOrEqualTo(String value) {
            addCriterion("merchant_isopen >=", value, "merchantIsopen");
            return (Criteria) this;
        }

        public Criteria andMerchantIsopenLessThan(String value) {
            addCriterion("merchant_isopen <", value, "merchantIsopen");
            return (Criteria) this;
        }

        public Criteria andMerchantIsopenLessThanOrEqualTo(String value) {
            addCriterion("merchant_isopen <=", value, "merchantIsopen");
            return (Criteria) this;
        }

        public Criteria andMerchantIsopenLike(String value) {
            addCriterion("merchant_isopen like", value, "merchantIsopen");
            return (Criteria) this;
        }

        public Criteria andMerchantIsopenNotLike(String value) {
            addCriterion("merchant_isopen not like", value, "merchantIsopen");
            return (Criteria) this;
        }

        public Criteria andMerchantIsopenIn(List<String> values) {
            addCriterion("merchant_isopen in", values, "merchantIsopen");
            return (Criteria) this;
        }

        public Criteria andMerchantIsopenNotIn(List<String> values) {
            addCriterion("merchant_isopen not in", values, "merchantIsopen");
            return (Criteria) this;
        }

        public Criteria andMerchantIsopenBetween(String value1, String value2) {
            addCriterion("merchant_isopen between", value1, value2, "merchantIsopen");
            return (Criteria) this;
        }

        public Criteria andMerchantIsopenNotBetween(String value1, String value2) {
            addCriterion("merchant_isopen not between", value1, value2, "merchantIsopen");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}